﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public partial class SRS_Sample : IDisposable
{
    // override the base Dispose() method to close our log file if one exists.  I verified via Reflector that it doesn't do this OOB :-(
    void IDisposable.Dispose ()
    {
        if (this.Log != null)
            this.Log.Close();

        this.Log = null;

        this.Dispose(true);
    }
}
